public class array {
    public static void printArray(int[] array){
        for (int i =0;i<array.length;i++){
            System.out.println(array[i]);
        }
    }
    public static void main(String[] args) {
        int[] array =new int[100];
        for (int i=0;i<array.length;i++){
            array[i]=i+1;
        }
        printArray(array);
    }
}
